home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / X11 / resize.z / resize
Text File  |  1998-10-20  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.      RRRREEEESSSSIIIIZZZZEEEE((((1111))))          XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))           RRRREEEESSSSIIIIZZZZEEEE((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           resize - set TERMCAP and terminal settings to current xterm
  10.           window size
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           rrrreeeessssiiiizzzzeeee [ ----uuuu | ----cccc ] [ ----ssss [ _r_o_w _c_o_l ] ]
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.           _R_e_s_i_z_e prints a shell command for setting the TERM and
  17.           TERMCAP environment variables to indicate the current size
  18.           of _x_t_e_r_m window from which the command is run.  For this
  19.           output to take effect, _r_e_s_i_z_e must either be evaluated as
  20.           part of the command line (usually done with a shell alias or
  21.           function) or else redirected to a file which can then be
  22.           read in.  From the C shell (usually known as /_b_i_n/_c_s_h), the
  23.           following alias could be defined in the user's ._c_s_h_r_c:
  24.  
  25.                   %  alias rs 'set noglob; eval `_r_e_s_i_z_e`'
  26.  
  27.           After resizing the window, the user would type:
  28.  
  29.                   %  rs
  30.  
  31.           Users of versions of the Bourne shell (usually known as
  32.           /_b_i_n/_s_h) that don't have command functions will need to send
  33.           the output to a temporary file and the read it back in with
  34.           the ``.'' command:
  35.  
  36.                   $  resize > /tmp/out
  37.                   $  . /tmp/out
  38.  
  39.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  40.           The following options may be used with _r_e_s_i_z_e:
  41.  
  42.           ----uuuu      This option indicates that Bourne shell commands
  43.                   should be generated even if the user's current shell
  44.                   isn't /_b_i_n/_s_h.
  45.  
  46.           ----cccc      This option indicates that C shell commands should
  47.                   be generated even if the user's current shell isn't
  48.                   /_b_i_n/_c_s_h.
  49.  
  50.           ----ssss [_r_o_w_s _c_o_l_u_m_n_s]
  51.                   This option indicates that Sun console escape
  52.                   sequences will be used instead of the special _x_t_e_r_m
  53.                   escape code.  If _r_o_w_s and _c_o_l_u_m_n_s are given, _r_e_s_i_z_e
  54.                   will ask the _x_t_e_r_m to resize itself.  However, the
  55.                   window manager may choose to disallow the change.
  56.  
  57.      FFFFIIIILLLLEEEESSSS
  58.           /etc/termcap   for the base termcap entry to modify.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      RRRREEEESSSSIIIIZZZZEEEE((((1111))))          XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))           RRRREEEESSSSIIIIZZZZEEEE((((1111))))
  71.  
  72.  
  73.  
  74.           ~/.cshrc       user's alias for the command.
  75.  
  76.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  77.           csh(1), tset(1), xterm(1)
  78.  
  79.      AAAAUUUUTTTTHHHHOOOORRRRSSSS
  80.           Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
  81.           Copyright (c) 1984, 1985 by X Consortium
  82.           See _X(1) for a complete copyright notice.
  83.  
  84.      BBBBUUUUGGGGSSSS
  85.           The ----uuuu or ----cccc must appear to the left of ----ssss if both are
  86.           specified.
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.